package com.ity.teamanagement.code;

/**
 * @author coderFu
 * @create 2021/6/2
 */
public enum RotationChartCode implements Code {

    ROTATION_CHART_ADD_FAIL(false,8001,"轮播图添加失败"),
    ROTATION_CHART_DELETE_FAIL(false,8002,"轮播图删除失败"),
    ROTATION_CHART_UPDATE_FAIL(false,8003,"轮播图修改失败")
   ;




    RotationChartCode(boolean success, Integer code, String message){
        this.success = success;
        this.code = code;
        this.message = message;
    }

    private boolean success;

    private Integer code;

    private String message;


    @Override
    public boolean success() {
        return this.success;
    }

    @Override
    public int code() {
        return this.code;
    }

    @Override
    public String message() {
        return this.message;
    }
}
